#ifndef TOUCHINDICATORSTRATEGY_H
#define TOUCHINDICATORSTRATEGY_H

#if defined (_WIN32)
	#pragma once
#endif

#include "../../ToolkitLayer.h"
#include <LDF/VisComponentStrategy.h>
#include <LDF/VisComponent.h>

/**
 * This class provides a basic strategy for a touch indicator. It sets the
 * position of center of the associated component to be the same as given by
 * the input data. The drawing of the touch indicator should be done via
 * another strategy (drawer strategy).
 *
 * @author Fabricio Anastacio - fabriciocfa@yahoo.com
 * @since September 25, 2007
 */
class TOOLKITLAYER_API TouchIndicatorStrategy : public VisComponentStrategy
{
	// Attributes
protected:

	// Methods
public:
	/**
	 * Constructs a touch indicator strategy.
	 */
	TouchIndicatorStrategy(void);
	/**
	 * Destroys this strategy.
	 */
	~TouchIndicatorStrategy(void);

protected:
	/**
	 * Handles the given event.
	 *
	 * @param evt the event to be handled.
	 */
	void onEvent(LargeDisplayEvent* evt);
};

#endif // TOUCHINDICATORSTRATEGY_H
